package entity;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "Order_Items")
public class OrderItemEntity {

	private BigInteger order_id;
	private BigInteger product_id;
	private Integer quantity;
	
	@Column(name = "order_id")
    public BigInteger getOrderId() {
        return order_id;
    }
 
    public void setOrderId(BigInteger order_id) {
        this.order_id = order_id;
    }
    
    @Column(name = "product_id")
    public BigInteger getProductId() {
        return product_id;
    }
 
    public void setProductId(BigInteger product_id) {
        this.product_id = product_id;
    }
    
    @Column(name = "quantity")
    public Integer getQuantity() {
        return quantity;
    }
 
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }


}
